/* ==================
       初始化样式
 ==================== */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
/* table, caption, tbody, tfoot, thead, tr, th, td, */
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* 重置a元素 */
a {
    text-decoration:none;
}
a:hover {
    
    cursor:pointer;
}
/* 重置图片 */
img {
    font-size: 0;
    border: none;
}


/* ==================
          图片
 ==================== */

/* 铺满全部 */
.img-full img {
    width: 100%;
	height: 100%;
	display: block;
}
.img-max img {
    max-width: 100%;
    max-height: 100%;
	display: block;
    margin: auto;
}

/* ==================
          动画
 ==================== */

.transform{
    transition:all 0.6s ease 0s;
}


/* ==================
        清除浮动
 ==================== */

 .clear,
 .clearfix{
     zoom: 1;
 }
 .clear:before,
 .clearfix:before {
     display: table;
     content: " ";
 }
 .clear:after,
 .clearfix:after {
     content: "";
     display: block;
     height: 0;
     clear: both;
     float: none;
     margin: 0;
 }
 
/* ==================
        辅助
 ==================== */

 /* 单行文字省略 */
.ellipsis-one {
    max-width: 100%;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    word-break: break-all;
        
}
/* 两行文字省略 */
.ellipsis-two {
    max-width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-all;
}
/* 三行文字省略 */
.ellipsis-three {
    max-width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-all;
}

.hide {
    display: none;
}
/* 编辑器图片 */
.editor{
    line-height: 220%;
}
.editor img,.editor video{
    max-width: 100% !important;
    height: auto !important;
    margin:0px 20px;
}